Skip to content

Conversation

alexcekay
Copy link
Member

Solved Problem

The jamming/spoofing state is not yet implemented for septentrio modules.

Solution

  • Use the Flags of the RFStatus
  • Bit1 directly indicates that message authentication failed, this is used for the spoofing state
  • Bit 0 indicates that the signal may be jammed or spoofed, this is used for a jamming warning, as the description contains the word "may", which fits the semantic of a jamming warning, but not a spoofing indicated

Changelog Entry

For release notes:

Feature/Bugfix implement jamming/spoofing state for septentrio

Alternatives

  • To even better differentiate we could also take values like AGC gain into consideration, but this is for a follow-up

Test coverage

  • Tested on the bench with a septentrio mosaic-go

Copy link

github-actions bot commented Jun 20, 2025

🔎 FLASH Analysis

px4_fmu-v5x [Total VM Diff: 16 byte (0 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%     +16  +0.0%     +16    .text
  +0.0%     +12  +0.0%     +12    [section .text]
   +44%      +4   +44%      +4    g_nullstring
+0.0%     +55  [ = ]       0    .debug_abbrev
-0.0%      -2  [ = ]       0    .debug_info
-0.0%     -13  [ = ]       0    .debug_line
 -85.7%      -6  [ = ]       0    [Unmapped]
  -0.0%      -7  [ = ]       0    [section .debug_line]
-0.2%     -16  [ = ]       0    [Unmapped]
+0.0%     +40  +0.0%     +16    TOTAL

px4_fmu-v6x [Total VM Diff: 176 byte (0.01 %)]
    FILE SIZE        VM SIZE    
--------------  -------------- 
+0.0%    +176  +0.0%    +176    .text
   +24%    +104   +24%    +104    septentrio::sbf::Decoder::parse()
  +4.8%     +60  +4.8%     +60    septentrio::SeptentrioDriver::process_message()
  [NEW]     +40  [NEW]     +40    CSWTCH.272
   +50%     +16   +50%     +16    CSWTCH.273
  [NEW]     +16  [NEW]     +16    CSWTCH.274
  +0.0%     +16  +0.0%     +16    [section .text]
  -3.4%      -4  -3.4%      -4    GPSHelper::storeUpdateRates()
  [DEL]     -16  [DEL]     -16    CSWTCH.270
  [DEL]     -16  [DEL]     -16    CSWTCH.271
  [DEL]     -40  [DEL]     -40    CSWTCH.269
+0.0%     +55  [ = ]       0    .debug_abbrev
+0.0%     +47  [ = ]       0    .debug_info
+0.0%     +74  [ = ]       0    .debug_line
   +17%      +1  [ = ]       0    [Unmapped]
  +0.0%     +73  [ = ]       0    [section .debug_line]
+0.0%     +27  [ = ]       0    .debug_loclists
+0.0%     +15  [ = ]       0    .debug_rnglists
 -50.0%      -1  [ = ]       0    [Unmapped]
  +0.0%     +16  [ = ]       0    [section .debug_rnglists]
+0.0%     +10  [ = ]       0    .debug_str
+0.0%     +40  [ = ]       0    .strtab
  [DEL]     -11  [ = ]       0    CSWTCH.269
  [DEL]     -11  [ = ]       0    CSWTCH.270
  [DEL]     -11  [ = ]       0    CSWTCH.271
  [NEW]     +11  [ = ]       0    CSWTCH.272
  [NEW]     +11  [ = ]       0    CSWTCH.274
   +14%     +51  [ = ]       0    septentrio::sbf::Decoder::parse()
+0.0%     +48  [ = ]       0    .symtab
  [DEL]     -32  [ = ]       0    CSWTCH.269
  [DEL]     -32  [ = ]       0    CSWTCH.270
  [DEL]     -32  [ = ]       0    CSWTCH.271
  [NEW]     +32  [ = ]       0    CSWTCH.272
  +100%     +32  [ = ]       0    CSWTCH.273
  [NEW]     +32  [ = ]       0    CSWTCH.274
   +17%     +16  [ = ]       0    septentrio::SeptentrioDriver::process_message()
   +12%     +32  [ = ]       0    septentrio::sbf::Decoder::parse()
 +98% +3.83Ki  [ = ]       0    [Unmapped]
+0.0% +4.31Ki  +0.0%    +176    TOTAL

Updated: 2025-06-20T11:40:33

@mrpollo
Copy link
Contributor

mrpollo commented Jun 20, 2025

Hey @alexcekay did you check this out #25012 ?

@alexcekay
Copy link
Member Author

alexcekay commented Jun 20, 2025

@mrpollo : Ahh nice thanks, didn't check this as it is so new. Awesome, then I can close this.

@alexcekay alexcekay closed this Jun 20, 2025
@DronecodeBot
Copy link

This pull request has been mentioned on Discussion Forum for PX4, Pixhawk, QGroundControl, MAVSDK, MAVLink. There might be relevant details there:

https://discuss.px4.io/t/px4-dev-call-aug-13-2025-team-sync-and-community-q-a/46972/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants